<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="zh-CN">
	<head>
		<base href="<%=basePath%>">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<link href="css/layout.css" type="text/css" rel="stylesheet" />
		<link href="css/bootstrap.min.css" type="text/css" rel="stylesheet" />
		<script language="JavaScript" src="js/jquery-2.1.4.min.js" type="text/javascript"></script>
		<script language="JavaScript" src="js/bootstrap.min.js" type="text/javascript"></script>
		<!-- 导航栏必须引入的三行代码 -->
		<script language="JavaScript" src="js/public.js" type="text/javascript"></script>
		<script type="text/javascript">
		</script>
	</head>

	<body>
		<div class="container">
			<jsp:include flush="true" page="/qiantai/inc/incTop.jsp"></jsp:include>
			<div class="row">
				<!--左边的 -->
				<div class="content col-sm-3">
					<div class="panel panel-primary">
						<div class="panel-heading">
							<h3 class="panel-title">用户登录</h3>
						</div>
						<div class="panel-body">
							<jsp:include flush="true" page="/qiantai/userlogin/userlogin.jsp"></jsp:include>
						</div>
					</div>

					<div class="panel panel-primary">
						<div class="panel-heading">
							<h3 class="panel-title">电脑品牌</h3>
						</div>
						<div class="panel-body">
						
						</div>
					</div>
					
				</div>
				<!--左边的 -->
				<div class="content col-sm-6">
					<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
						<!-- Indicators -->
						<ol class="carousel-indicators">
							<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
							<li data-target="#carousel-example-generic" data-slide-to="1"></li>
							<li data-target="#carousel-example-generic" data-slide-to="2"></li>
						</ol>

						<!-- Wrapper for slides -->
						<div class="carousel-inner" role="listbox">
							<div class="item active">
							fasdadadaadadad
								<img src="<%=path%>/img/lun1.png" alt="dawa">
								<div class="carousel-caption">iphone</div>
							</div>
							<div class="item">
								<img src="<%=path%>/img/lun2.png" alt="wada">
								<div class="carousel-caption">HUAWEI</div>
							</div>
							<div class="item">
								<img src="<%=path%>/img/lun3.png" alt="dadawa">
								<div class="carousel-caption">VIVO</div>
							</div>
						</div>

						<!-- Controls -->
						<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left"
							 aria-hidden="true"></span>
							<span class="sr-only">Previous</span>
						</a> <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next"> <span
							 class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
							<span class="sr-only">Next</span>
						</a>
					</div>

					<div class="panel panel-primary">
						<div class="panel-heading">
							<h3 class="panel-title">
								新品上市&nbsp;&nbsp;&nbsp;
								&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
								&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
								&nbsp;&nbsp;&nbsp;&nbsp;
								&nbsp;&nbsp;&nbsp;&nbsp;
								&nbsp;&nbsp;&nbsp;&nbsp;
								&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
								&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
								&nbsp;&nbsp;&nbsp;&nbsp;
								&nbsp;&nbsp;&nbsp;&nbsp;
								&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
								&nbsp;&nbsp;&nbsp;&nbsp;
								<a href="goodsAllYesTejia.action">更多>></a>
							</h3>
						</div>
						<div class="panel-body">
							<ul class="list-group">
								<c:forEach items="${PageInfo.list }" var="goods">
								<li class="list-group-item"><a href="#">
										
									  <img width="70" height="70" src="<c:url value='goodsimage/${goods.gimage }'/>" />
										</a> &nbsp;
										&nbsp;&nbsp;&nbsp;&nbsp;
										&nbsp;&nbsp;&nbsp;&nbsp;
										&nbsp;市场价:${goods.gprice}
									(特价:)</li>
								</c:forEach>
							</ul>
						</div>

					</div>
				</div>
				<!-- 右边的用户登录。留言。投票 -->
				<div class="content col-sm-3">
					<div class="panel panel-primary">
						<div class="panel-heading">
							<h3 class="panel-title">排行榜</h3>
						</div>
						<div class="panel-body">
							<ul class="list-group">
								
									<li class="list-group-item"><a href="<%=path%>/goodsDetail.action?goodsId=<s:property value=" #goods.goodsId" />">
									
										</a> &nbsp;
									
									</li>
							
							</ul>
						</div>
					</div>
					<!-- 特价 -->

					<!-- 新品上市 -->
					<div class="panel panel-primary">
						<div class="panel-heading">
							<h3 class="panel-title">
								新品上市&nbsp;&nbsp;&nbsp;
								&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
								&nbsp;&nbsp;&nbsp;<a href="/goodsAllNoTejia.action">更多>></a>
							</h3>
						</div>
						<div class="panel-body">
							<ul class="list-group">
							
									<li class="list-group-item"><a href="goodsDetail.action?goodsId=<s:property value=" #goods.goodsId" />">
										<img width="60" height="60" src="##" />
										</a> &nbsp;
										市场价:
										
									</li>
								
							</ul>
						</div>

					</div>
					<!-- 新品上市 -->
				</div>
			
			</div>
			<div class="foot">
				<jsp:include flush="true" page="/qiantai/inc/incFoot.jsp"></jsp:include>
			</div>
		</div>

	</body>
</html>
